import os

# 获取项目根目录路径
project_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

# 输入路径
input_dir = os.path.join(project_dir, "input")
input_image_path = os.path.join(input_dir, "image.jpg")
input_image1_path = os.path.join(input_dir, "image1.jpg")

# 输出路径
output_dir = os.path.join(project_dir, "output")

# 实验一输出路径
exp1_output_dir = os.path.join(output_dir, "Exp1")
exp1_result_1_path = os.path.join(exp1_output_dir, "result_1.png")
exp1_result_2_path = os.path.join(exp1_output_dir, "result_2.png")

# 实验二输出路径
exp2_output_dir = os.path.join(output_dir, "Exp2")
exp2_gray_path = os.path.join(exp2_output_dir, "result_gray.png")
exp2_binary_path = os.path.join(exp2_output_dir, "result_binary.png")
exp2_adaptive_binary_path = os.path.join(exp2_output_dir, "result_adaptive_binary.png")
exp2_mean_blur_path = os.path.join(exp2_output_dir, "result_mean_blur.png")
exp2_gaussian_blur_path = os.path.join(exp2_output_dir, "result_gaussian_blur.png")
exp2_median_blur_path = os.path.join(exp2_output_dir, "result_median_blur.png")
exp2_equalized_path = os.path.join(exp2_output_dir, "result_equalized.png")
exp2_stretched_path = os.path.join(exp2_output_dir, "result_stretched.png")
exp2_practice_path = os.path.join(exp2_output_dir, "result_practice.png")


# 实验三输出路径
exp3_output_dir = os.path.join(output_dir, "Exp3")
exp3_gray_path = os.path.join(exp3_output_dir, "result_gray.png")
exp3_Sobel_path = os.path.join(exp3_output_dir, "result_Sobel.png")
exp3_Canny_path = os.path.join(exp3_output_dir, "result_Canny.png")

# 实验四输出路径
exp4_output_dir = os.path.join(output_dir, "Exp4")
exp4_gray_path = os.path.join(exp4_output_dir, "result_gray.png")
exp4_global_path = os.path.join(exp4_output_dir, "result_global.png")
exp4_adaptive_path = os.path.join(exp4_output_dir, "result_adaptive.png")
exp4_regional_path = os.path.join(exp4_output_dir, "result_regional.png")
exp4_edge_path = os.path.join(exp4_output_dir, "result_edge.png")
exp4_drainage_path = os.path.join(exp4_output_dir, "result_drainage.png")


# 实验五输出路径
exp5_output_dir=os.path.join(output_dir,"Exp5")
exp5_gray_path1=os.path.join(exp5_output_dir,"result_gray1.png")
exp5_gray_path2=os.path.join(exp5_output_dir,"result_gray2.png")
exp5_sift_path=os.path.join(exp5_output_dir,"result_sitf.png")
exp5_surf_path=os.path.join(exp5_output_dir,"result_surf.png")
exp5_orb_path=os.path.join(exp5_output_dir,"result_orb.png")
exp5_silhouette_path=os.path.join(exp5_output_dir,"result_silhouette.png")
exp5_hof_path=os.path.join(exp5_output_dir,"result_hof.png")
exp5_point_path=os.path.join(exp5_output_dir,"result_point.png")
exp5_light_path=os.path.join(exp5_output_dir,"result_light.png")
exp5_light_path1=os.path.join(exp5_output_dir,"result_light1.png")
exp5_light_path2=os.path.join(exp5_output_dir,"result_light2.png")